home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hplip / ui4 / sendfaxdialog_base.py < prev    next >
Encoding:
Python Source  |  2009-04-14  |  25.1 KB  |  487 lines

  1. # -*- coding: utf-8 -*-
  2.  
  3. # Form implementation generated from reading ui file 'ui4/sendfaxdialog_base.ui'
  4. #
  5. # Created: Tue Feb 17 11:36:14 2009
  6. #      by: PyQt4 UI code generator 4.3.3
  7. #
  8. # WARNING! All changes made in this file will be lost!
  9.  
  10. from PyQt4 import QtCore, QtGui
  11.  
  12. class Ui_Dialog(object):
  13.     def setupUi(self, Dialog):
  14.         Dialog.setObjectName("Dialog")
  15.         Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
  16.         Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,600,500).size()).expandedTo(Dialog.minimumSizeHint()))
  17.  
  18.         self.gridlayout = QtGui.QGridLayout(Dialog)
  19.         self.gridlayout.setObjectName("gridlayout")
  20.  
  21.         self.StackedWidget = QtGui.QStackedWidget(Dialog)
  22.         self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
  23.         self.StackedWidget.setObjectName("StackedWidget")
  24.  
  25.         self.SelectFax = QtGui.QWidget()
  26.         self.SelectFax.setObjectName("SelectFax")
  27.  
  28.         self.gridlayout1 = QtGui.QGridLayout(self.SelectFax)
  29.         self.gridlayout1.setObjectName("gridlayout1")
  30.  
  31.         self.label_8 = QtGui.QLabel(self.SelectFax)
  32.  
  33.         font = QtGui.QFont()
  34.         font.setPointSize(16)
  35.         self.label_8.setFont(font)
  36.         self.label_8.setObjectName("label_8")
  37.         self.gridlayout1.addWidget(self.label_8,0,0,1,1)
  38.  
  39.         self.line_4 = QtGui.QFrame(self.SelectFax)
  40.         self.line_4.setFrameShape(QtGui.QFrame.HLine)
  41.         self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
  42.         self.line_4.setObjectName("line_4")
  43.         self.gridlayout1.addWidget(self.line_4,1,0,1,1)
  44.  
  45.         self.gridlayout2 = QtGui.QGridLayout()
  46.         self.gridlayout2.setObjectName("gridlayout2")
  47.  
  48.         self.FaxComboBox = PrinterNameComboBox(self.SelectFax)
  49.         self.FaxComboBox.setObjectName("FaxComboBox")
  50.         self.gridlayout2.addWidget(self.FaxComboBox,0,0,1,3)
  51.  
  52.         spacerItem = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.MinimumExpanding,QtGui.QSizePolicy.Minimum)
  53.         self.gridlayout2.addItem(spacerItem,1,0,1,1)
  54.  
  55.         self.FaxOptionsButton = QtGui.QPushButton(self.SelectFax)
  56.  
  57.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
  58.         sizePolicy.setHorizontalStretch(0)
  59.         sizePolicy.setVerticalStretch(0)
  60.         sizePolicy.setHeightForWidth(self.FaxOptionsButton.sizePolicy().hasHeightForWidth())
  61.         self.FaxOptionsButton.setSizePolicy(sizePolicy)
  62.         self.FaxOptionsButton.setObjectName("FaxOptionsButton")
  63.         self.gridlayout2.addWidget(self.FaxOptionsButton,1,1,1,1)
  64.  
  65.         self.FaxSetupButton = QtGui.QPushButton(self.SelectFax)
  66.  
  67.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
  68.         sizePolicy.setHorizontalStretch(0)
  69.         sizePolicy.setVerticalStretch(0)
  70.         sizePolicy.setHeightForWidth(self.FaxSetupButton.sizePolicy().hasHeightForWidth())
  71.         self.FaxSetupButton.setSizePolicy(sizePolicy)
  72.         self.FaxSetupButton.setObjectName("FaxSetupButton")
  73.         self.gridlayout2.addWidget(self.FaxSetupButton,1,2,1,1)
  74.         self.gridlayout1.addLayout(self.gridlayout2,2,0,1,1)
  75.  
  76.         spacerItem1 = QtGui.QSpacerItem(564,221,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
  77.         self.gridlayout1.addItem(spacerItem1,3,0,1,1)
  78.  
  79.         self.label_12 = QtGui.QLabel(self.SelectFax)
  80.         self.label_12.setWordWrap(True)
  81.         self.label_12.setObjectName("label_12")
  82.         self.gridlayout1.addWidget(self.label_12,4,0,1,1)
  83.         self.StackedWidget.addWidget(self.SelectFax)
  84.  
  85.         self.CoverPage = QtGui.QWidget()
  86.         self.CoverPage.setObjectName("CoverPage")
  87.  
  88.         self.gridlayout3 = QtGui.QGridLayout(self.CoverPage)
  89.         self.gridlayout3.setObjectName("gridlayout3")
  90.  
  91.         self.label_3 = QtGui.QLabel(self.CoverPage)
  92.  
  93.         font = QtGui.QFont()
  94.         font.setPointSize(16)
  95.         self.label_3.setFont(font)
  96.         self.label_3.setObjectName("label_3")
  97.         self.gridlayout3.addWidget(self.label_3,0,0,1,1)
  98.  
  99.         self.line_2 = QtGui.QFrame(self.CoverPage)
  100.         self.line_2.setFrameShape(QtGui.QFrame.HLine)
  101.         self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
  102.         self.line_2.setObjectName("line_2")
  103.         self.gridlayout3.addWidget(self.line_2,1,0,1,1)
  104.  
  105.         self.CoverPageGroupBox = QtGui.QGroupBox(self.CoverPage)
  106.         self.CoverPageGroupBox.setEnabled(True)
  107.         self.CoverPageGroupBox.setCheckable(True)
  108.         self.CoverPageGroupBox.setChecked(False)
  109.         self.CoverPageGroupBox.setObjectName("CoverPageGroupBox")
  110.  
  111.         self.gridlayout4 = QtGui.QGridLayout(self.CoverPageGroupBox)
  112.         self.gridlayout4.setObjectName("gridlayout4")
  113.  
  114.         self.gridlayout5 = QtGui.QGridLayout()
  115.         self.gridlayout5.setObjectName("gridlayout5")
  116.  
  117.         self.CoverPageName = QtGui.QLabel(self.CoverPageGroupBox)
  118.         self.CoverPageName.setFrameShape(QtGui.QFrame.NoFrame)
  119.         self.CoverPageName.setAlignment(QtCore.Qt.AlignCenter)
  120.         self.CoverPageName.setObjectName("CoverPageName")
  121.         self.gridlayout5.addWidget(self.CoverPageName,0,0,1,4)
  122.  
  123.         self.CoverPagePreview = QtGui.QLabel(self.CoverPageGroupBox)
  124.  
  125.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
  126.         sizePolicy.setHorizontalStretch(0)
  127.         sizePolicy.setVerticalStretch(0)
  128.         sizePolicy.setHeightForWidth(self.CoverPagePreview.sizePolicy().hasHeightForWidth())
  129.         self.CoverPagePreview.setSizePolicy(sizePolicy)
  130.         self.CoverPagePreview.setMinimumSize(QtCore.QSize(134,192))
  131.         self.CoverPagePreview.setMaximumSize(QtCore.QSize(134,192))
  132.         self.CoverPagePreview.setFrameShape(QtGui.QFrame.NoFrame)
  133.         self.CoverPagePreview.setScaledContents(True)
  134.         self.CoverPagePreview.setAlignment(QtCore.Qt.AlignCenter)
  135.         self.CoverPagePreview.setObjectName("CoverPagePreview")
  136.         self.gridlayout5.addWidget(self.CoverPagePreview,1,0,1,4)
  137.  
  138.         spacerItem2 = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Minimum)
  139.         self.gridlayout5.addItem(spacerItem2,2,0,1,1)
  140.  
  141.         self.PrevCoverPageButton = QtGui.QPushButton(self.CoverPageGroupBox)
  142.         self.PrevCoverPageButton.setObjectName("PrevCoverPageButton")
  143.         self.gridlayout5.addWidget(self.PrevCoverPageButton,2,1,1,1)
  144.  
  145.         self.NextCoverPageButton = QtGui.QPushButton(self.CoverPageGroupBox)
  146.         self.NextCoverPageButton.setObjectName("NextCoverPageButton")
  147.         self.gridlayout5.addWidget(self.NextCoverPageButton,2,2,1,1)
  148.  
  149.         spacerItem3 = QtGui.QSpacerItem(31,20,QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Minimum)
  150.         self.gridlayout5.addItem(spacerItem3,2,3,1,1)
  151.  
  152.         spacerItem4 = QtGui.QSpacerItem(20,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
  153.         self.gridlayout5.addItem(spacerItem4,3,1,1,1)
  154.         self.gridlayout4.addLayout(self.gridlayout5,0,0,2,1)
  155.  
  156.         self.vboxlayout = QtGui.QVBoxLayout()
  157.         self.vboxlayout.setObjectName("vboxlayout")
  158.  
  159.         self.label_16 = QtGui.QLabel(self.CoverPageGroupBox)
  160.         self.label_16.setObjectName("label_16")
  161.         self.vboxlayout.addWidget(self.label_16)
  162.  
  163.         self.RegardingEdit = QtGui.QLineEdit(self.CoverPageGroupBox)
  164.         self.RegardingEdit.setObjectName("RegardingEdit")
  165.         self.vboxlayout.addWidget(self.RegardingEdit)
  166.         self.gridlayout4.addLayout(self.vboxlayout,0,1,1,1)
  167.  
  168.         self.gridlayout6 = QtGui.QGridLayout()
  169.         self.gridlayout6.setObjectName("gridlayout6")
  170.  
  171.         self.label_17 = QtGui.QLabel(self.CoverPageGroupBox)
  172.         self.label_17.setObjectName("label_17")
  173.         self.gridlayout6.addWidget(self.label_17,0,0,1,1)
  174.  
  175.         self.MessageEdit = QtGui.QTextEdit(self.CoverPageGroupBox)
  176.         self.MessageEdit.setObjectName("MessageEdit")
  177.         self.gridlayout6.addWidget(self.MessageEdit,1,0,1,1)
  178.  
  179.         self.PreserveFormattingCheckBox = QtGui.QCheckBox(self.CoverPageGroupBox)
  180.         self.PreserveFormattingCheckBox.setObjectName("PreserveFormattingCheckBox")
  181.         self.gridlayout6.addWidget(self.PreserveFormattingCheckBox,2,0,1,1)
  182.         self.gridlayout4.addLayout(self.gridlayout6,1,1,1,1)
  183.         self.gridlayout3.addWidget(self.CoverPageGroupBox,2,0,1,1)
  184.  
  185.         self.label_13 = QtGui.QLabel(self.CoverPage)
  186.         self.label_13.setWordWrap(True)
  187.         self.label_13.setObjectName("label_13")
  188.         self.gridlayout3.addWidget(self.label_13,3,0,1,1)
  189.         self.StackedWidget.addWidget(self.CoverPage)
  190.  
  191.         self.SelectFiles = QtGui.QWidget()
  192.         self.SelectFiles.setObjectName("SelectFiles")
  193.  
  194.         self.gridlayout7 = QtGui.QGridLayout(self.SelectFiles)
  195.         self.gridlayout7.setObjectName("gridlayout7")
  196.  
  197.         self.label_2 = QtGui.QLabel(self.SelectFiles)
  198.  
  199.         font = QtGui.QFont()
  200.         font.setPointSize(16)
  201.         self.label_2.setFont(font)
  202.         self.label_2.setWordWrap(True)
  203.         self.label_2.setObjectName("label_2")
  204.         self.gridlayout7.addWidget(self.label_2,0,0,1,1)
  205.  
  206.         self.line = QtGui.QFrame(self.SelectFiles)
  207.         self.line.setFrameShape(QtGui.QFrame.HLine)
  208.         self.line.setFrameShadow(QtGui.QFrame.Sunken)
  209.         self.line.setObjectName("line")
  210.         self.gridlayout7.addWidget(self.line,1,0,1,1)
  211.  
  212.         self.FilesTable = FileTable(self.SelectFiles)
  213.  
  214.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
  215.         sizePolicy.setHorizontalStretch(0)
  216.         sizePolicy.setVerticalStretch(0)
  217.         sizePolicy.setHeightForWidth(self.FilesTable.sizePolicy().hasHeightForWidth())
  218.         self.FilesTable.setSizePolicy(sizePolicy)
  219.         self.FilesTable.setObjectName("FilesTable")
  220.         self.gridlayout7.addWidget(self.FilesTable,2,0,1,1)
  221.  
  222.         self.FilesPageNote = QtGui.QLabel(self.SelectFiles)
  223.         self.FilesPageNote.setWordWrap(True)
  224.         self.FilesPageNote.setObjectName("FilesPageNote")
  225.         self.gridlayout7.addWidget(self.FilesPageNote,3,0,1,1)
  226.         self.StackedWidget.addWidget(self.SelectFiles)
  227.  
  228.         self.SelectRecipients = QtGui.QWidget()
  229.         self.SelectRecipients.setObjectName("SelectRecipients")
  230.  
  231.         self.gridlayout8 = QtGui.QGridLayout(self.SelectRecipients)
  232.         self.gridlayout8.setObjectName("gridlayout8")
  233.  
  234.         self.label_4 = QtGui.QLabel(self.SelectRecipients)
  235.  
  236.         font = QtGui.QFont()
  237.         font.setPointSize(16)
  238.         self.label_4.setFont(font)
  239.         self.label_4.setObjectName("label_4")
  240.         self.gridlayout8.addWidget(self.label_4,0,0,1,1)
  241.  
  242.         self.line_3 = QtGui.QFrame(self.SelectRecipients)
  243.         self.line_3.setFrameShape(QtGui.QFrame.HLine)
  244.         self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
  245.         self.line_3.setObjectName("line_3")
  246.         self.gridlayout8.addWidget(self.line_3,1,0,1,1)
  247.  
  248.         self.groupBox_4 = QtGui.QGroupBox(self.SelectRecipients)
  249.         self.groupBox_4.setObjectName("groupBox_4")
  250.  
  251.         self.gridlayout9 = QtGui.QGridLayout(self.groupBox_4)
  252.         self.gridlayout9.setObjectName("gridlayout9")
  253.  
  254.         self.RecipientsTable = QtGui.QTableWidget(self.groupBox_4)
  255.         self.RecipientsTable.setObjectName("RecipientsTable")
  256.         self.gridlayout9.addWidget(self.RecipientsTable,0,0,1,5)
  257.  
  258.         self.RemoveRecipientButton = QtGui.QPushButton(self.groupBox_4)
  259.         self.RemoveRecipientButton.setEnabled(False)
  260.         self.RemoveRecipientButton.setObjectName("RemoveRecipientButton")
  261.         self.gridlayout9.addWidget(self.RemoveRecipientButton,1,0,1,1)
  262.  
  263.         self.MoveRecipientUpButton = QtGui.QPushButton(self.groupBox_4)
  264.         self.MoveRecipientUpButton.setEnabled(False)
  265.         self.MoveRecipientUpButton.setObjectName("MoveRecipientUpButton")
  266.         self.gridlayout9.addWidget(self.MoveRecipientUpButton,1,1,1,1)
  267.  
  268.         self.MoveRecipientDownButton = QtGui.QPushButton(self.groupBox_4)
  269.         self.MoveRecipientDownButton.setEnabled(False)
  270.         self.MoveRecipientDownButton.setObjectName("MoveRecipientDownButton")
  271.         self.gridlayout9.addWidget(self.MoveRecipientDownButton,1,2,1,1)
  272.  
  273.         spacerItem5 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
  274.         self.gridlayout9.addItem(spacerItem5,1,3,1,1)
  275.  
  276.         self.FABButton = QtGui.QPushButton(self.groupBox_4)
  277.         self.FABButton.setObjectName("FABButton")
  278.         self.gridlayout9.addWidget(self.FABButton,1,4,1,1)
  279.         self.gridlayout8.addWidget(self.groupBox_4,2,0,1,1)
  280.  
  281.         self.groupBox = QtGui.QGroupBox(self.SelectRecipients)
  282.         self.groupBox.setObjectName("groupBox")
  283.  
  284.         self.gridlayout10 = QtGui.QGridLayout(self.groupBox)
  285.         self.gridlayout10.setObjectName("gridlayout10")
  286.  
  287.         self.hboxlayout = QtGui.QHBoxLayout()
  288.         self.hboxlayout.setObjectName("hboxlayout")
  289.  
  290.         self.label = QtGui.QLabel(self.groupBox)
  291.         self.label.setObjectName("label")
  292.         self.hboxlayout.addWidget(self.label)
  293.  
  294.         spacerItem6 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Minimum)
  295.         self.hboxlayout.addItem(spacerItem6)
  296.  
  297.         self.AddIndividualComboBox = QtGui.QComboBox(self.groupBox)
  298.  
  299.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Fixed)
  300.         sizePolicy.setHorizontalStretch(0)
  301.         sizePolicy.setVerticalStretch(0)
  302.         sizePolicy.setHeightForWidth(self.AddIndividualComboBox.sizePolicy().hasHeightForWidth())
  303.         self.AddIndividualComboBox.setSizePolicy(sizePolicy)
  304.         self.AddIndividualComboBox.setObjectName("AddIndividualComboBox")
  305.         self.hboxlayout.addWidget(self.AddIndividualComboBox)
  306.  
  307.         self.AddIndividualButton = QtGui.QPushButton(self.groupBox)
  308.         self.AddIndividualButton.setEnabled(False)
  309.         self.AddIndividualButton.setObjectName("AddIndividualButton")
  310.         self.hboxlayout.addWidget(self.AddIndividualButton)
  311.         self.gridlayout10.addLayout(self.hboxlayout,0,0,1,1)
  312.  
  313.         self.hboxlayout1 = QtGui.QHBoxLayout()
  314.         self.hboxlayout1.setObjectName("hboxlayout1")
  315.  
  316.         self.label_5 = QtGui.QLabel(self.groupBox)
  317.         self.label_5.setObjectName("label_5")
  318.         self.hboxlayout1.addWidget(self.label_5)
  319.  
  320.         spacerItem7 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Minimum)
  321.         self.hboxlayout1.addItem(spacerItem7)
  322.  
  323.         self.AddGroupComboBox = QtGui.QComboBox(self.groupBox)
  324.  
  325.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Fixed)
  326.         sizePolicy.setHorizontalStretch(0)
  327.         sizePolicy.setVerticalStretch(0)
  328.         sizePolicy.setHeightForWidth(self.AddGroupComboBox.sizePolicy().hasHeightForWidth())
  329.         self.AddGroupComboBox.setSizePolicy(sizePolicy)
  330.         self.AddGroupComboBox.setObjectName("AddGroupComboBox")
  331.         self.hboxlayout1.addWidget(self.AddGroupComboBox)
  332.  
  333.         self.AddGroupButton = QtGui.QPushButton(self.groupBox)
  334.         self.AddGroupButton.setEnabled(False)
  335.         self.AddGroupButton.setObjectName("AddGroupButton")
  336.         self.hboxlayout1.addWidget(self.AddGroupButton)
  337.         self.gridlayout10.addLayout(self.hboxlayout1,1,0,1,1)
  338.         self.gridlayout8.addWidget(self.groupBox,3,0,1,1)
  339.  
  340.         self.groupBox_3 = QtGui.QGroupBox(self.SelectRecipients)
  341.         self.groupBox_3.setObjectName("groupBox_3")
  342.  
  343.         self.gridlayout11 = QtGui.QGridLayout(self.groupBox_3)
  344.         self.gridlayout11.setObjectName("gridlayout11")
  345.  
  346.         self.hboxlayout2 = QtGui.QHBoxLayout()
  347.         self.hboxlayout2.setObjectName("hboxlayout2")
  348.  
  349.         self.label_6 = QtGui.QLabel(self.groupBox_3)
  350.         self.label_6.setObjectName("label_6")
  351.         self.hboxlayout2.addWidget(self.label_6)
  352.  
  353.         self.QuickAddNameEdit = QtGui.QLineEdit(self.groupBox_3)
  354.         self.QuickAddNameEdit.setObjectName("QuickAddNameEdit")
  355.         self.hboxlayout2.addWidget(self.QuickAddNameEdit)
  356.  
  357.         self.label_7 = QtGui.QLabel(self.groupBox_3)
  358.         self.label_7.setObjectName("label_7")
  359.         self.hboxlayout2.addWidget(self.label_7)
  360.  
  361.         self.QuickAddFaxEdit = QtGui.QLineEdit(self.groupBox_3)
  362.         self.QuickAddFaxEdit.setObjectName("QuickAddFaxEdit")
  363.         self.hboxlayout2.addWidget(self.QuickAddFaxEdit)
  364.  
  365.         self.QuickAddButton = QtGui.QPushButton(self.groupBox_3)
  366.         self.QuickAddButton.setEnabled(False)
  367.         self.QuickAddButton.setObjectName("QuickAddButton")
  368.         self.hboxlayout2.addWidget(self.QuickAddButton)
  369.         self.gridlayout11.addLayout(self.hboxlayout2,0,0,1,1)
  370.         self.gridlayout8.addWidget(self.groupBox_3,4,0,1,1)
  371.         self.StackedWidget.addWidget(self.SelectRecipients)
  372.  
  373.         self.SendFax = QtGui.QWidget()
  374.         self.SendFax.setObjectName("SendFax")
  375.  
  376.         self.gridlayout12 = QtGui.QGridLayout(self.SendFax)
  377.         self.gridlayout12.setObjectName("gridlayout12")
  378.  
  379.         self.label_9 = QtGui.QLabel(self.SendFax)
  380.  
  381.         font = QtGui.QFont()
  382.         font.setPointSize(16)
  383.         self.label_9.setFont(font)
  384.         self.label_9.setObjectName("label_9")
  385.         self.gridlayout12.addWidget(self.label_9,0,0,1,1)
  386.  
  387.         self.line_5 = QtGui.QFrame(self.SendFax)
  388.         self.line_5.setFrameShape(QtGui.QFrame.HLine)
  389.         self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
  390.         self.line_5.setObjectName("line_5")
  391.         self.gridlayout12.addWidget(self.line_5,1,0,1,1)
  392.  
  393.         self.label_10 = QtGui.QLabel(self.SendFax)
  394.         self.label_10.setObjectName("label_10")
  395.         self.gridlayout12.addWidget(self.label_10,2,0,1,1)
  396.  
  397.         self.StatusList = QtGui.QListWidget(self.SendFax)
  398.         self.StatusList.setObjectName("StatusList")
  399.         self.gridlayout12.addWidget(self.StatusList,3,0,1,1)
  400.  
  401.         self.label_15 = QtGui.QLabel(self.SendFax)
  402.         self.label_15.setObjectName("label_15")
  403.         self.gridlayout12.addWidget(self.label_15,4,0,1,1)
  404.         self.StackedWidget.addWidget(self.SendFax)
  405.         self.gridlayout.addWidget(self.StackedWidget,0,0,1,5)
  406.  
  407.         self.line_6 = QtGui.QFrame(Dialog)
  408.         self.line_6.setFrameShape(QtGui.QFrame.HLine)
  409.         self.line_6.setFrameShadow(QtGui.QFrame.Sunken)
  410.         self.line_6.setObjectName("line_6")
  411.         self.gridlayout.addWidget(self.line_6,1,0,1,5)
  412.  
  413.         self.StepText = QtGui.QLabel(Dialog)
  414.         self.StepText.setObjectName("StepText")
  415.         self.gridlayout.addWidget(self.StepText,2,0,1,1)
  416.  
  417.         spacerItem8 = QtGui.QSpacerItem(231,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
  418.         self.gridlayout.addItem(spacerItem8,2,1,1,1)
  419.  
  420.         self.BackButton = QtGui.QPushButton(Dialog)
  421.         self.BackButton.setObjectName("BackButton")
  422.         self.gridlayout.addWidget(self.BackButton,2,2,1,1)
  423.  
  424.         self.NextButton = QtGui.QPushButton(Dialog)
  425.         self.NextButton.setObjectName("NextButton")
  426.         self.gridlayout.addWidget(self.NextButton,2,3,1,1)
  427.  
  428.         self.CancelButton = QtGui.QPushButton(Dialog)
  429.         self.CancelButton.setObjectName("CancelButton")
  430.         self.gridlayout.addWidget(self.CancelButton,2,4,1,1)
  431.  
  432.         self.retranslateUi(Dialog)
  433.         self.StackedWidget.setCurrentIndex(1)
  434.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  435.  
  436.     def retranslateUi(self, Dialog):
  437.         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Send Fax", None, QtGui.QApplication.UnicodeUTF8))
  438.         self.label_8.setText(QtGui.QApplication.translate("Dialog", "Select Fax", None, QtGui.QApplication.UnicodeUTF8))
  439.         self.FaxOptionsButton.setText(QtGui.QApplication.translate("Dialog", "Fax Settings...", None, QtGui.QApplication.UnicodeUTF8))
  440.         self.FaxSetupButton.setText(QtGui.QApplication.translate("Dialog", "Fax Device Setup...", None, QtGui.QApplication.UnicodeUTF8))
  441.         self.label_12.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  442.         "p, li { white-space: pre-wrap; }\n"
  443.         "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
  444.         "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select the desired fax printer queue and click <span style=\" font-style:italic;\">Next</span> to continue. Note: Once you continue to the next step, you will not be able to change to a different fax queue.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
  445.         self.label_3.setText(QtGui.QApplication.translate("Dialog", "Select and Edit Fax Coverpage (Optional)", None, QtGui.QApplication.UnicodeUTF8))
  446.         self.CoverPageGroupBox.setTitle(QtGui.QApplication.translate("Dialog", "Include Coverpage", None, QtGui.QApplication.UnicodeUTF8))
  447.         self.label_16.setText(QtGui.QApplication.translate("Dialog", "Regarding:", None, QtGui.QApplication.UnicodeUTF8))
  448.         self.label_17.setText(QtGui.QApplication.translate("Dialog", "Optional Message: (max. 2000 characters or 32 preformatted lines)", None, QtGui.QApplication.UnicodeUTF8))
  449.         self.PreserveFormattingCheckBox.setText(QtGui.QApplication.translate("Dialog", "Preformatted (preserve formatting)", None, QtGui.QApplication.UnicodeUTF8))
  450.         self.label_13.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  451.         "p, li { white-space: pre-wrap; }\n"
  452.         "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
  453.         "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:9pt;\">Check<span style=\" font-style:italic;\"> Include Coverpage </span>to add a coverpage to this fax. To continue without a coverpage, click <span style=\" font-style:italic;\">Next ></span>.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
  454.         self.label_2.setText(QtGui.QApplication.translate("Dialog", "Select Files to Send", None, QtGui.QApplication.UnicodeUTF8))
  455.         self.FilesPageNote.setText(QtGui.QApplication.translate("Dialog", "Note: You may also add files to the fax by printing from any application to the \'%1\' fax printer.", None, QtGui.QApplication.UnicodeUTF8))
  456.         self.label_4.setText(QtGui.QApplication.translate("Dialog", "Select Fax Recipients", None, QtGui.QApplication.UnicodeUTF8))
  457.         self.groupBox_4.setTitle(QtGui.QApplication.translate("Dialog", "Recipients", None, QtGui.QApplication.UnicodeUTF8))
  458.         self.RecipientsTable.clear()
  459.         self.RecipientsTable.setColumnCount(0)
  460.         self.RecipientsTable.setRowCount(0)
  461.         self.RemoveRecipientButton.setText(QtGui.QApplication.translate("Dialog", "Remove", None, QtGui.QApplication.UnicodeUTF8))
  462.         self.MoveRecipientUpButton.setText(QtGui.QApplication.translate("Dialog", "Move Up", None, QtGui.QApplication.UnicodeUTF8))
  463.         self.MoveRecipientDownButton.setText(QtGui.QApplication.translate("Dialog", "Move Down", None, QtGui.QApplication.UnicodeUTF8))
  464.         self.FABButton.setText(QtGui.QApplication.translate("Dialog", "Fax Address Book...", None, QtGui.QApplication.UnicodeUTF8))
  465.         self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Add Recipients or Groups from the Fax Address Book", None, QtGui.QApplication.UnicodeUTF8))
  466.         self.label.setText(QtGui.QApplication.translate("Dialog", "Add an individual:", None, QtGui.QApplication.UnicodeUTF8))
  467.         self.AddIndividualButton.setText(QtGui.QApplication.translate("Dialog", "Add", None, QtGui.QApplication.UnicodeUTF8))
  468.         self.label_5.setText(QtGui.QApplication.translate("Dialog", "Add a group:", None, QtGui.QApplication.UnicodeUTF8))
  469.         self.AddGroupButton.setText(QtGui.QApplication.translate("Dialog", "Add", None, QtGui.QApplication.UnicodeUTF8))
  470.         self.groupBox_3.setTitle(QtGui.QApplication.translate("Dialog", "Quick Add an Individual Recipient (recipient will automatically be added to fax address book)", None, QtGui.QApplication.UnicodeUTF8))
  471.         self.label_6.setText(QtGui.QApplication.translate("Dialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
  472.         self.label_7.setText(QtGui.QApplication.translate("Dialog", "Fax Number:", None, QtGui.QApplication.UnicodeUTF8))
  473.         self.QuickAddButton.setText(QtGui.QApplication.translate("Dialog", "Add", None, QtGui.QApplication.UnicodeUTF8))
  474.         self.label_9.setText(QtGui.QApplication.translate("Dialog", "Send Fax", None, QtGui.QApplication.UnicodeUTF8))
  475.         self.label_10.setText(QtGui.QApplication.translate("Dialog", "Status:", None, QtGui.QApplication.UnicodeUTF8))
  476.         self.label_15.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
  477.         "p, li { white-space: pre-wrap; }\n"
  478.         "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
  479.         "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click <span style=\" font-style:italic;\">Send Fax</span> to start the fax transmission.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
  480.         self.StepText.setText(QtGui.QApplication.translate("Dialog", "Step %1 of %2", None, QtGui.QApplication.UnicodeUTF8))
  481.         self.BackButton.setText(QtGui.QApplication.translate("Dialog", "< Back", None, QtGui.QApplication.UnicodeUTF8))
  482.         self.NextButton.setText(QtGui.QApplication.translate("Dialog", "Next >", None, QtGui.QApplication.UnicodeUTF8))
  483.         self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
  484.  
  485. from printernamecombobox import PrinterNameComboBox
  486. from filetable import FileTable
  487.